﻿using Microsoft.TeamFoundation.VersionControl.Client;

namespace TfsGiggle.Core.IntegrationTest
{
    class MockChange : IChange
    {
        private MockItem _item;

        internal MockChange(int id, string name, string contents)
        {
            _item = new MockItem(id, name, contents);
        }

        public IItem Item
        {
            get { return _item; }
        }

        public ChangeType ChangeType
        {
            get { return ChangeType.Add; }
        }
    }
}
